package com.topboya.linker.model.levelitem;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.topboya.linker.ui.adapter.CustomerExpandableItemAdapter;

public class OrgLevel0Item extends AbstractExpandableItem<OrgLevel1Item> implements MultiItemEntity {

    private String haspatialname;
    private String getHaspatialevel;
    private String orgID;

    public String getHaspatialname() {
        return haspatialname;
    }

    public void setHaspatialname(String haspatialname) {
        this.haspatialname = haspatialname;
    }

    public String getGetHaspatialevel() {
        return getHaspatialevel;
    }

    public void setGetHaspatialevel(String getHaspatialevel) {
        this.getHaspatialevel = getHaspatialevel;
    }

    public String getOrgID() {

        return orgID;
    }

    public void setOrgID(String orgID) {

        this.orgID = orgID;
    }

    @Override
    public int getLevel() {

        return 0;
    }

    @Override
    public int getItemType() {
        return CustomerExpandableItemAdapter.TYPE_LEVEL_0;
    }

    @Override
    public String toString() {
        return "OrgLevel0Item{" +
                "haspatialname='" + haspatialname + '\'' +
                ", getHaspatialevel='" + getHaspatialevel + '\'' +
                '}';
    }
}
